# -*- coding: utf-8 -*-
"""
Settings template. 

Copy it to settings.py and set all the values as needed.
"""
class Settings: #pylint: disable-msg=R0903
    """
    Configure settings here.
    """
    def __init__(self):
        pass
    # Subject of emails sent
    TITLE = "Heartbeat for "                
    # Path to store files generated containing processed ids
    STORE_PATH = "/path/to/store/temporaryfiles"
    # Path to store old versions of files generated containing processed ids
    # Should be cleaned externally by logrotate for example
    OLD_PATH = "/path/to/old/store/files"
    # Path to store log files 
    # Should be cleaned externally by logrotate for example
    LOG_PATH = "/path/to/store/logfiles"
    # SMTP host configuration
    SMTP_HOST = "smtp.host.com"
    # SMTP login name
    SMTP_LOGIN = "no-reply@yourdomain.com"
    # SMTP password
    SMTP_PASSWORD = "URPASSWORD"
    # Whether to use TLS 
    SMTP_USE_TLS = True
    # Which port to connect to
    SMTP_PORT = 25
    # Debug flag: Mails are sent to DEBUG_EMAIL if set
    DEBUG = True
    # Dry Run. if set - it does not make any changes to  list of processed ids
    DRY_RUN = True
    # Whether the mails are actually sent
    SEND_MAILS = False
    # Catch-all: Send all reports to these addresses
    SENDALL_TO = ['boss@yourdomain.com', 'architect@yourdomain.com']
    # The mail used as "FROM" for all mails
    FROM_MAIL = "no-reply@yourdomain.com"
    # Where to send debug mails
    DEBUG_EMAIL = 'cto@yourdomain.com'
    # In case email not specified, Email AI kicks-in (well not too much I)
    # If lowercase user matches this regexp, it is used as mail prefix
    USER_REGEXP = "[a-z]*\.[a-z]*$"
    # Email postfix added to the user
    USER_DOMAIN = "@yourdomain.com"
    # Optional mapping of user names/emails
    USER_EMAIL_MAPPER = {
     "user1" : "realnameofuser1@yourdomain.com",
     "user2" : "realnameofuser2@yourdomain.com",
    } 
